package Test;

public class A {
    //公有成员
    public int i = 10;
    public void print1(){
        System.out.println("public void print1()");
    }

    //私有成员
    private int j = 20;
    private void print2(){
        System.out.println("private void print2()");
    }
}
